package cn.huaqingcheng.tianshu.core.uc.repository;

import cn.huaqingcheng.tianshu.core.uc.model.Account;

import java.util.Optional;

/**
 * AccountRepository
 */
public interface AccountRepository {

    Optional<Account> getByUsername(String username);

    Optional<Account> getById(Long id);

    Account updateById(Account account);

}
